page.tsx 399 B

12345678910111213141516
  1. import React from 'react'
  2. import MainDetail from '@/app/components/datasets/documents/detail'
  3. export type IDocumentDetailProps = {
  4. params: { datasetId: string; documentId: string }
  5. }
  6. const DocumentDetail = async ({
  7. params: { datasetId, documentId },
  8. }: IDocumentDetailProps) => {
  9. return (
  10. <MainDetail datasetId={datasetId} documentId={documentId} />
  11. )
  12. }
  13. export default DocumentDetail